package StudyCode.summary.mydatetime;

import java.time.LocalDate;
import java.time.Month;
import java.time.format.DateTimeFormatter;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class MonthQuarter {
	public static void main(String[] args) {
		LocalDate localDate = LocalDate.now();
		LocalDate localDate1 = LocalDate.of(2019, Month.DECEMBER, 22);
		DateTimeFormatter fmt = DateTimeFormatter.ofPattern("yyyy/M/d '第'QQQ ");
		System.out.println(fmt.format(localDate));
		System.out.println(fmt.format(localDate1));
	}
}
